]> dgit.raspbian.org Git - samba.git/commit
hurd compatibility changes
authorMichael Tokarev <mjt@tls.msk.ru>
Thu, 3 Nov 2022 17:49:33 +0000 (20:49 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 13 Aug 2026 16:14:56 +0000 (19:14 +0300)
commitd3ab9f5ed6c8fc17514daa94a585d2102742bd45
treeec763558e2cefc3c86152322680cbd4ebaebb804
parent52ca029f7f75492928f1e468758fcb3c9a7e57c8
hurd compatibility changes

Hurd does not define PIPE_BUF, so lib/tevent/testsuite.c fails to compile
(yes, this file is used as part of *samba* testsuite, not tevent testsuite).
Define it to a safe minimal value like 512 bytes.

Hurd does not provide SA_NOCLDWAIT define, so lib/util/tests/tfork.c does
not compile. This is only needed during testing to omit zombie process
generation, which has only cosmetic effect.  Define it to be 0.

Based on prior work and ideas by Samuel Thibault.

Gbp-Pq: Name hurd-compat.patch
lib/tevent/testsuite.c
lib/util/tests/tfork.c